package com.cac.demo.newCode.materialStorage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * ERP出库单记录表
 * </p>
 *
 * @author xz
 * @since 2024-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("MS_ERP_OUT_BILL")
public class MsErpOutBill implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableField("MS_ERP_OUT_BILL_ID")
    private String msErpOutBillId;

    /**
     * 缓存箱编号
     */
    @TableField("WORKBIN_CODE")
    private String workbinCode;

    /**
     * ERP出库数量
     */
    @TableField("ERP_OUT_QTY")
    private BigDecimal erpOutQty;

    /**
     * 缓存箱物料表ID
     */
    @TableField("MS_WORKBIN_MATERIAL_ID")
    private String msWorkbinMaterialId;

    /**
     * 台账ID
     */
    @TableField("WMS_ITEM_INVENTORY_ID")
    private String wmsItemInventoryId;

    /**
     * 流水表ID
     */
    @TableField("WMS_ITEM_TRANSACTION_ID")
    private String wmsItemTransactionId;

    /**
     * 是否有效
     */
    @TableField("IS_VALID")
    private String isValid;

    /**
     * 创建时间
     */
    @TableField("CREATION_DATE")
    private Date creationDate;

    /**
     * IP
     */
    @TableField("UPDATE_IP")
    private String updateIp;


}
